package com.yanqu.road.server.cmd.manor;

import com.yanqu.road.server.cmd.base.AbstractCommand;
import com.yanqu.road.server.command.Cmd;
import com.yanqu.road.server.gameplayer.GamePlayer;
import com.yanqu.road.server.gameplayer.module.manor.ManorModule;
import com.yanqu.road.message.YanQuMessage;
import com.yanqu.road.server.protocol.GameProtocol;

/**
 * @author ：zfr
 * @date ：2021/6/21 15:06
 */
@Cmd(code = GameProtocol.S_MANOR_GET_HELP_RECORD_LIST, desc = "庄园获取协助记录列表")
public class GetManorHelpRecordListCmd extends AbstractCommand {
    @Override
    public boolean parseData(YanQuMessage packet) throws Exception {
        return true;
    }

    @Override
    public void execute(GamePlayer player, YanQuMessage packet) throws Exception {
        player.getModule(ManorModule.class).getManorHelpRecordList();
    }

    @Override
    public void sendData(GamePlayer player) {

    }
}
